//
//  TxtController.m
//  FileSystemDemo
//
//  Created by 小草毋正 on 2018/1/9.
//  Copyright © 2018年 C-LOVE. All rights reserved.
//

#import "TxtController.h"

@interface TxtController ()

@property (weak, nonatomic) IBOutlet UITextView *texView;

@end

@implementation TxtController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSString *string = [[NSString alloc] initWithContentsOfFile:self.file.filePath encoding:NSUTF8StringEncoding error:nil];
    self.texView.text = string;
    
}






- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
    
}



@end







